package com.bk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.bk.entity.UserInfo;
import com.bk.service.UserLoginService;

@RestController
public class UserLoginController {
	
	@Autowired
	private UserLoginService userLoginService;
	
	@Autowired
    private DiscoveryClient client;
	
	/*@GetMapping("/login")
	@ResponseBody
    public UserInfo login(@RequestParam("CardId") String CardId,@RequestParam("password") String password){
        UserInfo userInfo = userLoginService.getUserInfo(CardId,password);
        System.out.println(userInfo.getUhome()+"qqqqqqqqqqqqqqqqqqqq");
        return userInfo;
    }*/
	
}
